home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks1 / AppKit.framework / Headers / NSEPSImageRep.h < prev    next >
Encoding:
Text File  |  1994-12-20  |  1.2 KB  |  47 lines

  1. /*
  2.     NXEPSImageRep.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NSImageRep.h"
  8. #import <objc/List.h>
  9. #import <streams/streams.h>
  10. #import <objc/zone.h>
  11.  
  12. @interface NSEPSImageRep : NSImageRep
  13. {
  14.     char               *_fileName;
  15.     NSPoint             _bBoxOrigin;
  16.     char               *_memory;
  17.     int                 _epsLen;
  18.     short               _epsOffset;
  19.     short        _reservedShort;
  20.     char               *_otherName;
  21.     int                 _reservedInt;
  22. }
  23.  
  24. - initFromSection:(NSString *)fileName;
  25. - initFromFile:(NSString *)fileName;
  26. - initFromStream:(NXStream *)stream;
  27.  
  28. + (List *)newListFromSection:(NSString *)fileName;
  29. + (List *)newListFromFile:(NSString *)fileName;
  30. + (List *)newListFromStream:(NXStream *)stream;
  31. + (List *)newListFromSection:(NSString *)fileName zone:(NSZone *)zone;
  32. + (List *)newListFromFile:(NSString *)fileName zone:(NSZone *)zone;
  33. + (List *)newListFromStream:(NXStream *)stream zone:(NSZone *)zone;
  34.  
  35. - (BOOL)drawIn:(NSRect)rect;
  36. - (BOOL)draw;
  37. - prepareGState;
  38. - getEPS:(char **)epsString length:(int *)length;
  39. - (NSRect)boundingBox;
  40. - read:(NXTypedStream *)stream;
  41. - write:(NXTypedStream *)stream;
  42. - copyFromZone:(NSZone *)zone;
  43. - (void)dealloc;
  44.  
  45. @end
  46.  
  47.